<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .house{
            float: left;
            margin-right: 20px;
        }
        .content {
            position: relative;
            width: 600px;
            background-color: red;
        }

        .content:hover {
            box-shadow: 0 0 30px rgba(0, 0, 0, .5);
        }

        .content:hover .cover {
            display: block;
        }

        .content img {
            width: 600px;
            height: 800px;
            vertical-align: top;
        }

        .cover {
            display: none;
            background: rgba(0, 0, 0, 0.5);
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            line-height: 800px;
            font-size: 0;
        }

        .cover a {
            display: inline-block;
            position: relative;
            font-size: 16px;
            text-decoration: none;
            color: white;
            width: 80px;
            border: 1px solid white;
            text-align: center;
            line-height: 30px;
            vertical-align: middle;
            left: 50%;
            margin-left: -40px;
            border-radius: 3px;

        }
    </style>
</head>
<body>
<div class="house">
    <div class="content">
        <img src="house.jpeg" alt="二乙醇胺">
        <div class="cover">xsxxxxx
            <a href="">下载</a>
        </div>
    </div>

</div>
<div class="house">
    <div class="content">
        <img src="house.jpeg" alt="二乙醇胺">
        <div class="cover">xsxxxxx
            <a href="">下载</a>
        </div>
    </div>

</div>
<div class="house">
    <div class="content">
        <img src="house.jpeg" alt="二乙醇胺">
        <div class="cover">xsxxxxx
            <a href="">下载</a>
        </div>
    </div>

</div>
开发者：叶龙
</body>
</html>